package com.atguigu.dao;

import com.atguigu.pojo.DockerServiceConfig;

import java.util.List;

public interface DockerServiceConfigDao {
    //每个方法中都带有所操作类的名字,为了以后看到这个方法,就知道是干什么的
    public int addDockerServiceConfig(DockerServiceConfig dockerServiceConfig);
    public int deleteDockerServiceConfigById(String id);
    public int updateDockerServiceConfig(DockerServiceConfig dockerServiceConfig);
    public DockerServiceConfig queryDockerServiceConfigById(String id);
    public List<DockerServiceConfig> queryDockerServiceConfigs();
    public DockerServiceConfig queryDockerServiceConfigByServiceId(String serviceId);
    public Integer queryForPageTotalCount();
    public List<DockerServiceConfig> queryForPageItems(Integer begin, Integer pageSize);
}
